package com.test.javafaq_sys.controller;

import com.test.javafaq_commons.entity.User;
import com.test.javafaq_sys.service.IUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/v1/sys")
public class DemoController {

    @Resource
    IUserService userService;



    //localhost:8002/v1/sys/demo
    //http://localhost:9000/sys/v1/sys/demo
    @GetMapping("/demo")
    public String demo(){
        return "hello sys!";
    }
}
